package com.example.order;

import com.example.order.entity.Result;
import com.example.order.entity.TradeCoupon;

/**
 * @Author: songyahui
 * @Date: 2020/11/10 20:14
 * @Version 1.0
 */
public interface ICouponService {
    /**
     * 根据couponId查找coupon对象
     * @param couponId
     * @return
     */
    public TradeCoupon findOne(Long couponId);
    /**
     * 更新coupon对象
     * @param coupon
     * @return
     */
    public Result updateCouponStatus(TradeCoupon coupon);
}
